﻿#ifndef POSTCHANGE_H
#define POSTCHANGE__H

#include <QWidget>
#include <archivemanage/directorymanage/postchangeinfomange.h>

namespace Ui {
class PostChange;
}

class PostChange : public QWidget
{
    Q_OBJECT

public:
    explicit PostChange(QWidget *parent = 0);
    ~PostChange();
    void initForm();
    void enableForm();
    void initTableWidget();
    void showCadreFileData();
    void SwapTwoRow(int selectRow, int targetRow);
    QString saveHtmlToPDF(QString fileName);

signals:
    void printSignal();
    void fileEdit();
    void postCMEdit();

private slots:
    void lockEdit();

    void sendPrintSlot();

    void on_buttonAdd_clicked();

    void on_buttonDel_clicked();

    void on_buttonUp_clicked();

    void on_buttonDown_clicked();

    void on_buttonFind_clicked();

    void on_buttonInOut_clicked();

    void on_buttonEdit_clicked();

    void on_buttonRefresh_clicked();

    void on_buttonPrint_clicked();

    void on_buttonInsert_clicked();

    void on_buttonCM_clicked();

    void on_tableWidget_da_itemSelectionChanged();

private:
    Ui::PostChange *ui;
    PostChangeInfoMange *postchangeinfomanage;
};

#endif // POSTCHANGE__H
